home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / src / demos / demobook / shelves.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-08-02  |  1.7 KB  |  61 lines

  1. /*
  2.  * Copyright 1993, 1994, Silicon Graphics, Inc.
  3.  * All Rights Reserved.
  4.  *
  5.  * This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics, Inc.;
  6.  * the contents of this file may not be disclosed to third parties, copied or
  7.  * duplicated in any form, in whole or in part, without the prior written
  8.  * permission of Silicon Graphics, Inc.
  9.  *
  10.  * RESTRICTED RIGHTS LEGEND:
  11.  * Use, duplication or disclosure by the Government is subject to restrictions
  12.  * as set forth in subdivision (c)(1)(ii) of the Rights in Technical Data
  13.  * and Computer Software clause at DFARS 252.227-7013, and/or in similar or
  14.  * successor clauses in the FAR, DOD or NASA FAR Supplement. Unpublished -
  15.  * rights reserved under the Copyright Laws of the United States.
  16.  */
  17. #define STEPS 30
  18.  
  19. float arrow[7][3] = {
  20.         {-0.45, 0.6, -.6},
  21.         {0.0, 0.0, -.6},
  22.         {0.45, 0.6, -.6},
  23.         {0.15, 0.6, -.6},
  24.         {0.15, 1.2, -.6},
  25.         {-0.15, 1.2, -.6},
  26.         {-0.15, 0.6, -.6} };
  27.  
  28. /*
  29. float box[8][3] = {
  30.         {-1.0, 0.0, 0.0},
  31.         {1.0, 0.0, 0.0},
  32.         {1.0, 10.5, 0.0},
  33.         {-1.0, 10.5, 0.0},
  34.         {-1.0, 0.0, -10.5},
  35.         {1.0, 0.0, -10.5},
  36.         {1.0, 10.5, -10.5},
  37.         {-1.0, 10.5, -10.5} };
  38. */
  39. float shelf[35][3];
  40. float xt[STEPS], yt[STEPS], zt[STEPS], xr[STEPS], yr[STEPS], zr[STEPS];
  41. float xt2[STEPS], yt2[STEPS], zt2[STEPS];
  42. float flipdistance, flipincr;
  43. float bookpos[55];
  44.  
  45. float shelfleft = -28.0;
  46. float shelfright = 28.0;
  47. float shelftop = 23.5;
  48. float shelfbottom = -12.0;
  49.  
  50. float shelffront = -85.0;
  51. float outsidebevel = .3;
  52. float shelfbevel = .3;
  53. float shelfface = 1.0;
  54. float shelfheight = 12.5;
  55. int shelfcolor = 2;
  56. int shelflight = 3;
  57. int shelflight2 = 4;
  58. int shelfdark = 5;
  59.  
  60. int endfirstshelf;
  61.